//
//  ZYXChooseHeaderView.m
//  RuiBeiKang
//
//  Created by iOS开发1 on 2019/1/9.
//  Copyright © 2019年 JW. All rights reserved.
//

#import "ZYXChooseHeaderView.h"

@implementation ZYXChooseHeaderView

-(void)awakeFromNib{
    [super awakeFromNib];
    self.oneBtn.selected = YES;
}
- (IBAction)clickOneBtn:(UIButton *)sender {
    self.oneBtn.selected = YES;
    self.teoBtn.selected = NO;
    [self.delegate clickTypeBtn:1000];
}
- (IBAction)clickTwoBtn:(UIButton *)sender {
    self.oneBtn.selected = NO;
    self.teoBtn.selected = YES;
    [self.delegate clickTypeBtn:2000];
}

@end
